/*******************************************************************************
* Copyright (c) 2010, 2011 EclipseSource and others. All rights reserved. This
* program and the accompanying materials are made available under the terms of
* the Eclipse Public License v1.0 which accompanies this distribution, and is
* available at http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
*   EclipseSource - initial API and implementation
*******************************************************************************/

/* Shell */

Shell-Titlebar {
  color: white;
  background-image: gradient( linear, left top, left bottom,
                              from( #a8dd32 ), to( #87b127 ) );
  padding: 2px 5px 2px;
  margin: 0px;
  height: 22px;
  font: 12px Verdana, "Lucida Sans", Arial, Helvetica, sans-serif;
  border: none;
  border-radius: 1px 1px 0px 0px;
}

Shell-Titlebar:inactive {
  color: #aaaaaa;
  background-image: gradient( linear, left top, left bottom, from( #595959 ), to( #4b4b4b ) );
}

Shell {
  background-color: white;
  box-shadow: none;
}

Shell:maximized, Shell:maximized:inactive {
  border: none;
  border-radius: 0px;
}

Shell-DisplayOverlay {
  animation: fadeIn 150ms linear, fadeOut 400ms ease-out;
  background-image: none;
  background-color: #FFFFFF;
  opacity: 0.5;
}

Shell[BORDER], Shell[TITLE] {
  background-color: white;
  border: 2px solid #99c92c;
  border-radius: 6px;
  padding: 5px;
  box-shadow: 5px 5px 3px rgba( 0, 0, 0, 0.5 );
}

Shell[BORDER]:inactive, Shell[TITLE]:inactive {
  background-color: white;
  border: 2px solid #4b4b4b;
  box-shadow: none;
}

Shell-CloseButton {
  background-image: url( "theme/fancy/icons/shell-close.png" );
  margin: 0px 5px 0px 0px;
}

Shell-MaxButton {
  background-image: url( "theme/fancy/icons/shell-max.png" );
  margin: 0px 6px 0px 0px;
}

Shell-MinButton {
  background-image: url( "theme/fancy/icons/shell-min.png" );
  margin: 0px 6px 0px 0px;
}

Shell-CloseButton:hover {
  background-image: url( "theme/fancy/icons/shell-close-hover.png" );
}

Shell-MaxButton:hover {
  background-image: url( "theme/fancy/icons/shell-max-hover.png" );
}

Shell-MinButton:hover {
  background-image: url( "theme/fancy/icons/shell-min-hover.png" );
}